import request from '@/utils/request'

// 获取菜单
export function fetchList(query) {
  return request({
    url: '/menu/list',
    method: 'get',
    params: query
  })
}

// 获取用户权限菜单
export function getUserMenu() {
  return request({
    url: '/menu/getUserMenu',
    method: 'get'
  })
}
